#include "basetype.h"


bool Rect_C::TestPoint(float tx,float ty)
{
	return (x<tx && tx<x+w && y<ty && ty<y+h);
}

void Rect_C::Set(float x1,float y1,float w1,float h1)
{
	x = x1;
	y = y1;
	w = w1;
	h = h1;
}